package com.jhgsys.internal.workflow.service;

import com.jhgsys.internal.workflow.entity.WorkflowApplyReview;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 流程申请审核人员表 Service接口
 *
 * @author fenghaijun
 * @date 2024-07-19 13:53:31
 */
public interface IWorkflowApplyReviewService extends IService<WorkflowApplyReview> {
    /**
     * 查询（分页）
     * @author fenghaijun
     * @date 2024-07-19 13:53:31
     * @param request QueryRequest
     * @param workflowApplyReview workflowApplyReview
     * @return IPage<WorkflowApplyReview>
     */
    IPage<WorkflowApplyReview> findWorkflowApplyReviews(QueryRequest request, WorkflowApplyReview workflowApplyReview);

    /**
     * 查询（所有）
     * @author fenghaijun
     * @date 2024-07-19 13:53:31
     * @param workflowApplyReview workflowApplyReview
     * @return List<WorkflowApplyReview>
     */
    List<WorkflowApplyReview> findWorkflowApplyReviews(WorkflowApplyReview workflowApplyReview);

    /**
    * 根据ID查询
    * @author fenghaijun
    * @date 2024-07-19 13:53:31
    * @param id
    * @return WorkflowApplyReview
    */
    WorkflowApplyReview findWorkflowApplyReviewById(String id);

    /**
     * 新增
     * @author fenghaijun
     * @date 2024-07-19 13:53:31
     * @param workflowApplyReview workflowApplyReview
     */
    void createWorkflowApplyReview(WorkflowApplyReview workflowApplyReview);

    /**
     * 修改
     * @author fenghaijun
     * @date 2024-07-19 13:53:31
     * @param workflowApplyReview workflowApplyReview
     */
    void updateWorkflowApplyReview(WorkflowApplyReview workflowApplyReview);

    /**
     * 逻辑删除
     * @author fenghaijun
     * @date 2024-07-19 13:53:31
     * @param workflowApplyReview workflowApplyReview
     * @param workflowApplyReviewIds workflowApplyReviewIds
     */
    void deleteWorkflowApplyReview(WorkflowApplyReview workflowApplyReview, String workflowApplyReviewIds);

    /**
    * 物理删除
    * @author fenghaijun
    * @date 2024-07-19 13:53:31
    * @param workflowApplyReviewIds workflowApplyReviewIds
    */
    void physicallyDeleteWorkflowApplyReview(String workflowApplyReviewIds);
}
